﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 库存明细
    /// </summary>
    [SqlSugar.SugarTable(tableName: "TInventoryDetails")]
    public partial class TInventoryDetail
    {
        /// <summary>
        /// 库存明细Id
        /// </summary>
        [SqlSugar.SugarColumn(IsPrimaryKey = true,IsIdentity =true)]
        public int Id { get; set; }
        /// <summary>
        /// 库存Id
        /// </summary>
        public int InventoryId { get; set; }
        /// <summary>
        /// 货品条码
        /// </summary>
        public string Barcode { get; set; }
        /// <summary>
        /// 包装条码
        /// </summary>
        public string PackageBarcode { get; set; }
        /// <summary>
        /// 垛条码
        /// </summary>
        public string PalletBarcode { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        public bool IsOut { get; set; }
        /// <summary>
        /// 货品数量
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal? SkuNum { get; set; }
        public bool? IsSku { get; set; }
        public string BarcodeRange { get; set; }
        [Column(TypeName = "decimal(18,2)")]
        public decimal? TotalPrice { get; set; }
        [Column(TypeName = "decimal(18,2)")]
        public decimal? Price { get; set; }
    }
}
